﻿// =================================================================== 
// 项目说明
//====================================================================
// Wup。@Copy Right 2014
// 文件： UserViewHistory.cs
// 项目名称：买车网
// 创建时间：2016/3/23
// 负责人：Wup
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using Weixin.DAL.ChinaTax;
using Weixin.Entity.ChinaTax;

namespace Weixin.BLL.ChinaTax
{
    public partial class UserViewHistoryBLL : BaseBLL< UserViewHistoryBLL>

    {
        UserViewHistoryDataAccessLayer userViewHistorydal;
        public UserViewHistoryBLL()
        {
            userViewHistorydal = new UserViewHistoryDataAccessLayer();
        }

        public int Insert(UserViewHistoryEntity userViewHistoryEntity)
        {
            return userViewHistorydal.Insert(userViewHistoryEntity);            
        }

        public void Update(UserViewHistoryEntity userViewHistoryEntity)
        {
            userViewHistorydal.Update(userViewHistoryEntity);
        }

        public UserViewHistoryEntity GetAdminSingle(int id)
        {
           return userViewHistorydal.Get_UserViewHistoryEntity(id);
        }

        public IList<UserViewHistoryEntity> GetUserViewHistoryList()
        {
            IList<UserViewHistoryEntity> userViewHistoryList = new List<UserViewHistoryEntity>();
            userViewHistoryList=userViewHistorydal.Get_UserViewHistoryAll();
            return userViewHistoryList;
        }
    }
}
